-------------------------------------------------------------------
Mgosoft PDF To JPEG Command Line
Homepage: http://www.mgosoft.com
E-mail  : support@mgosoft.com
-------------------------------------------------------------------
Usage: pdftojpeg <-i PDF File> [options]

-i <string>	:Specify input PDF file or directory which contains pdf files.

-o <string>	:Specify Output directory, default same as source directory.

-w <string>	:Set Open PDF file password. 

-t <string>	:Set image type, default is 'jpg'.
		-t jpg	jpg image file( 24,7 bits).
		-t wmf	wmf image file.
		-t emf	emf image file.
		-t jp2	jpeg2000 image file.

-b <int>	:set color depth 7 and 24,default is 24.
		-b 24	True color(24 bits)
		-b 7	256 color grayscale(8 bits)
		
-q <int>	:Set quality for jpeg image,from 1 to 100,default is 75.

-x <int>	:Set Horizontal resolution in generated image files,form 72 to 600, default is 72.

-y <int>	:Set Vertical resolution in generated image files,form 72 to 600, default is 72.

-g <int>	:Set rotate angle, 0,90,180,270

-s <string>	:set image size.
		-s 1024x768	Set generated image width is 1024, height is 768. 

-n <string>	:Set page range to convert.
		-n 2,5-15,20-	Extract page 2,page 5 through 15, page 20 through end.

-r <string>	:Register.

-?		:Help.

-------------------------------------------------------
Example:
pdftojpeg -i C:\input.pdf 
pdftojpeg -i C:\inputpdf\ -o c:\output\
pdftojpeg -i C:\input.pdf -o C:\output\ -q 80
pdftojpeg -i C:\input.pdf -o C:\output\ -b 7 -x 300 -y 300
pdftojpeg -i C:\input.pdf -o C:\output\ -g 90
pdftojpeg -i C:\input.pdf -o C:\output\ -n 2,5-15,20-  
pdftojpeg -i C:\input.pdf -o C:\output\ -s 1024x768


Please notice, if your input pdf's filename or output directory contain space(s), you must use quotation mark to include them, for example,
C:pdftojpeg "C:\123 456.pdf" "C:\my test\"